projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823a266
)
Give set-auto-coding-funciton FILENAME argument.
author
Kenichi Handa
<handa@m17n.org>
Sat, 25 Jul 1998 02:02:59 +0000
(
02:02
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Sat, 25 Jul 1998 02:02:59 +0000
(
02:02
+0000)
lisp/tar-mode.el
patch
|
blob
|
history
diff --git
a/lisp/tar-mode.el
b/lisp/tar-mode.el
index ad8bdea817b2f3f74dadcaba09ed222f7ec2ee86..3ca808a60c1da15d9784497568f5a5b289daf363 100644
(file)
--- a/
lisp/tar-mode.el
+++ b/
lisp/tar-mode.el
@@
-749,7
+749,8
@@
appear on disk when you save the tar-file's buffer."
(let ((coding
(and set-auto-coding-function
(save-excursion
- (funcall set-auto-coding-function (point-max)))))
+ (funcall set-auto-coding-function
+ name (point-max)))))
(multibyte enable-multibyte-characters)
(detected (detect-coding-region
1 (min 16384 (point-max)) t)))